﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="分厂身份模拟.aspx.cs" Inherits="syc.Admin.分厂身份模拟" %>
<html>
<body>
<script type="text/javascript" language="javascript" src="/common.js"></script>

<form id="form1" runat="server">
<asp:SqlDataSource ID="SqlDataSource2" runat="server" 
    ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
    SelectCommand="SELECT rtrim(编码) as 编码, rtrim(编码)+':' + 名称 as 名称 FROM 设备编码 where 资产=0 and 编码 like '35%' order by 编码"></asp:SqlDataSource>



<div id="wintop" class="wintop">用户权限模拟</div>
<asp:Panel ID="Panel1" runat="server" CssClass="panel">
分厂权限：
<asp:DropDownList ID="FenChang" runat="server" Width="100px">
    <asp:ListItem Value="1">一分厂</asp:ListItem>
    <asp:ListItem Value="2">二分厂</asp:ListItem>
    <asp:ListItem Value="3">三分厂</asp:ListItem>
    <asp:ListItem Value="4">四分厂</asp:ListItem>
    <asp:ListItem Value="5">五分厂</asp:ListItem>
    <asp:ListItem Value="0">其他部门</asp:ListItem>
</asp:DropDownList>
<span  style="display:inline-block;width:20px;"></span>
部门权限：<asp:DropDownList ID="BuMen" runat="server" DataSourceID="SqlDataSource2" Width="200"
        DataTextField="名称" DataValueField="编码">
    </asp:DropDownList>

</asp:Panel>
    
<asp:Panel ID="Panel2" runat="server" CssClass="panel">
原料权限：
<br />
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao1" runat="server" Text="油管光管(J55)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao2" runat="server" Text="套管光管(J55)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao3" runat="server" Text="油管接箍光管(J55)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao4" runat="server" Text="套管接箍光管(J55)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao5" runat="server" Text="成品油管接箍(J55)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao6" runat="server" Text="成品套管接箍(J55)" /></span>
<br />
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao101" runat="server" Text="油管光管(N80)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao102" runat="server" Text="套管光管(N80)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao103" runat="server" Text="油管接箍光管(N80)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao104" runat="server" Text="套管接箍光管(N80)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao105" runat="server" Text="成品油管接箍(N80)" /></span>
<span style="display:inline-block;width:150px;"><asp:CheckBox ID="YuanLiao106" runat="server" Text="成品套管接箍(N80)" /></span>

</asp:Panel>

<asp:Panel ID="Panel3" runat="server" CssClass="panel">
产品权限：
<span style="display:inline-block;width:110px;"><asp:CheckBox ID="ChanPin1" runat="server" Text="油管" /></span>
<span style="display:inline-block;width:110px;"><asp:CheckBox ID="ChanPin2" runat="server" Text="套管" /></span>
</asp:Panel>

<asp:Panel ID="Panel4" runat="server" CssClass="panel">
<asp:Button ID="Button_Save" runat="server" Text="确 定" CssClass="button" 
    onclick="Button_Save_Click" />
</asp:Panel>

<asp:Panel ID="Panel_Msg" runat="server" CssClass="panel2">
    <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt"></asp:Label>
</asp:Panel>

</form>
</body>
</html>
